home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_079
/
scnsizer
/
scnsizer.doc
< prev
Wrap
Text File
|
1992-05-06
|
1KB
|
38 lines
/* ScnSizer.c
*
* Thad Floryan, 7 March 1987
*
* Sets the Preferences data for increasing the window bounds. From the
* default parameters, RowSizeChange and ColumnSizeChange are the values
* added to the window size. ViewXOffset and ViewYOffset are the delta
* from the default upper left corner.
*
* Usage:
*
* CLI> ScnSizer [ row.delta col.delta [ -xoffset -yoffset ] ]
*
* argv: [0] [1] [2] [3] [4]
* argc: 1 2 3 4 5
*
* no args causes the present values to be displayed, else
* row.delta is the number of rows (V) to be added
* col.delta is the number of columns (H) to be added
* xoffset is the upper left corner x delta, usually negative
* yoffset is the upper left corner y delta, usually negative
*
* Note: the Preferences structure is exactly the size of and is stored in
* SYS:DEVS/system-configuration. This program calls RethinkDisplay()
* for an immediate screen update if parameters are changed; to save
* the parameters permanently, use the Preferences program.
*
* This program inspired by Neil Katin's "MoreRows" and enhanced/fixed from
* Marco Papa's "MyMoreRows". Compiled and linking using the Manx Axtec C
* version 3.4a package per:
*
* CLI> cc ScnSizer.c
* CLI> ln ScnSizer.o -lc
*
* Note also that the AmigaDOS version 1.2 "final" includes must be used
* else certain definitions (esp. in intuition.h) won't be available.
*/